package com.zt.business.service;

import com.zt.model.entity.Dept;
import com.zt.model.mapper.DeptMapper;

import java.util.List;

public class DeptService {

    private DeptMapper deptMapper;

    public int insert(Dept pojo){
        return deptMapper.insert(pojo);
    }

    public int insertList(List< Dept> pojos){
        return deptMapper.insertList(pojos);
    }

    public List<Dept> select(Dept pojo){
        return deptMapper.select(pojo);
    }

    public int update(Dept pojo){
        return deptMapper.update(pojo);
    }

}
